package com.example.studentsRoom.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author admin
 * @since 2022-07-19
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    public class Dormitory implements Serializable {

    private static final long serialVersionUID=1L;

      /**
     * 宿舍id
     */
        @TableId(value = "dor_id", type = IdType.AUTO)
      private Integer dorId;

      /**
     * 宿舍name
     */
      private String dorName;

      /**
     * 宿舍几人间
     */
      private Integer dorNum;

      /**
     * 宿舍phone
     */
      private String dorPhone;

      /**
     * 宿舍剩余床位
     */
      private String dorBed;


    private Integer bId;


}
